package com.atguigu.test;

class Test2{

}
public class HTest10 {
    public static void main(String[] args){
        MyDate bir = new MyDate();
        bir.year = 1999;
        bir.month= 5;
        bir.day = 1;
        System.out.println("我的生日："+bir.year+"年"+bir.month+"月"+bir.day+"日");

        MyDate da = new MyDate();
        da.year = 2020;
        da.month = 7;
        da.day = 20;
        System.out.println("来尚硅谷的第一天："+da.year+"年"+da.month+"月"+da.day+"日");

        MyDate go = new MyDate();
        go.year = 2020;
        go.month = 1;
        go.day = 20;
        System.out.println("毕业日期："+go.year+"年"+go.month+"月"+go.day+"日");

}

}
